package top.wshape1.shiziapi.project.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import top.wshape1.shiziapi.project.domain.ApiContent;

import java.util.List;

/**
 * @author Wshape1
 * @version 1.0
 * @description
 * @since 2023-11-08
 */

@Data
@JsonInclude
public class ApiDataVo {

    @NotNull
    private Long projectId;

    @NotNull
    private Long apiId;

    private String url;

    private String method;

    private String description;

    private List<ApiContent> contents;

}
